home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 626-637 / disk_635 / ldp / source / ldp_gads.c < prev    next >
C/C++ Source or Header  |  1992-05-06  |  47KB  |  1,111 lines

  1. /*  gadgets for LDP remote controller   *\
  2. **       Ron M. Battle  02-22-92        **
  3. **         HyperBorea Studio B          **
  4. ** Thanx to PowerWindows 2.5c for help! **
  5. ** Thanx to Brian Berg for IFF examples **
  6. \*                                      */
  7.  
  8. #include <intuition/intuition.h>
  9. #include "gadgets.h"
  10.  
  11.  
  12. UBYTE TextBuff[TEXTLEN]= {"Search"} ;
  13.  
  14. struct StringInfo TextDisplayGadSInfo = {
  15.         TextBuff,   /* buffer where text will be edited */
  16.         NULL,     /* optional undo buffer */
  17.         0,       /* character position in buffer */
  18.         TEXTLEN,     /* maximum number of characters to allow */
  19.         0,      /* first displayed character buffer position */
  20.         0,0,0,0,0,      /* Intuition initialized and maintained variables */
  21.         0,      /* Rastport of gadget */
  22.         0,      /* initial value for integer gadgets */
  23.         NULL    /* alternate keymap (fill in if you set the flag) */
  24. };
  25.  
  26.  
  27.  
  28. struct Gadget TextDisplayGad = {
  29.         NULL,   /* next gadget */
  30.         70,16,  /* origin XY of hit box relative to window TopLeft */
  31.         104,10, /* hit box width and height */
  32.         GADGHNONE,    /* gadget flags */
  33.         0, /* activation flags */
  34.         STRGADGET,      /* gadget type flags */
  35.         NULL, /* gadget border or image to be rendered */
  36.         NULL,   /* alternate imagery for selection */
  37.         NULL,   /* first IntuiText structure */
  38.         NULL,   /* gadget mutual-exclude long word */
  39.         (APTR)&TextDisplayGadSInfo, /* SpecialInfo structure */
  40.         TextDisplay,        /* user-definable data */
  41.         NULL    /* pointer to user-definable data */
  42. };
  43.  
  44.  
  45. UBYTE NumBuff[NUMLEN]= {"00001"} ;
  46.  
  47. struct StringInfo NumDisplayGadSInfo = {
  48.         NumBuff,   /* buffer where text will be edited */
  49.         NULL,     /* optional undo buffer */
  50.         0,      /* character position in buffer */
  51.         NUMLEN,     /* maximum number of characters to allow */
  52.         0,      /* first displayed character buffer position */
  53.         0,0,0,0,0,      /* Intuition initialized and maintained variables */
  54.         0,      /* Rastport of gadget */
  55.         1L,      /* initial value for integer gadgets */
  56.         NULL    /* alternate keymap (fill in if you set the flag) */
  57. };
  58.  
  59. SHORT BorderVectors1[] = {
  60.         0,0,
  61.         164,0,
  62.         164,12,
  63.         0,12,
  64.         0,0
  65. };
  66. struct Border Border1 = {
  67.         -3,-3,  /* XY origin relative to container TopLeft */
  68.         3,0,JAM1,       /* front pen, back pen and drawmode */
  69.         5,      /* number of XY vectors */
  70.         BorderVectors1, /* pointer to XY vectors */
  71.         NULL    /* next border in list */
  72. };
  73.  
  74. struct Gadget NumDisplayGad = {
  75.         &TextDisplayGad,   /* next gadget */
  76.         14,16,  /* origin XY of hit box relative to window TopLeft */
  77.         48,10, /* hit box width and height */
  78.         GADGHNONE,    /* gadget flags */
  79.         RELVERIFY+LONGINT,        /* activation flags */
  80.         STRGADGET,      /* gadget type flags */
  81.         (APTR)&Border1, /* gadget border or image to be rendered */
  82.         NULL,   /* alternate imagery for selection */
  83.         NULL,   /* first IntuiText structure */
  84.         NULL,   /* gadget mutual-exclude long word */
  85.         (APTR)&NumDisplayGadSInfo, /* SpecialInfo structure */
  86.         NumDisplay,        /* user-definable data */
  87.         NULL    /* pointer to user-definable data */
  88. };
  89.  
  90. USHORT ImageData1[] = {
  91.         0x0000,0x0004,0x0004,0x0784,0x0CC4,0x0CC4,0x07C4,0x00C4,
  92.         0x0184,0x0704,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
  93.         0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
  94.         0x8000,0x8000
  95. };
  96.  
  97. struct Image Image1 = {
  98.         0,0,    /* XY origin relative to container TopLeft */
  99.         14,13,  /* Image width and height in pixels */
  100.         2,      /* number of bitplanes in Image */
  101.         ImageData1,     /* pointer to ImageData */
  102.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  103.         NULL    /* next Image structure */
  104. };
  105.  
  106. struct Gadget NineGad = {
  107.         &NumDisplayGad,    /* next gadget */
  108.         51,95,  /* origin XY of hit box relative to window TopLeft */
  109.         14,13,  /* hit box width and height */
  110.         GADGIMAGE,      /* gadget flags */
  111.         RELVERIFY,      /* activation flags */
  112.         BOOLGADGET,     /* gadget type flags */
  113.         (APTR)&Image1,  /* gadget border or image to be rendered */
  114.         NULL,   /* alternate imagery for selection */
  115.         NULL,   /* first IntuiText structure */
  116.         NULL,   /* gadget mutual-exclude long word */
  117.         NULL,   /* SpecialInfo structure */
  118.         Nine,   /* user-definable data */
  119.         NULL    /* pointer to user-definable data */
  120. };
  121.  
  122. USHORT ImageData2[] = {
  123.         0x0000,0x0004,0x0004,0x0784,0x0CC4,0x0CC4,0x0784,0x0CC4,
  124.         0x0CC4,0x0784,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
  125.         0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
  126.         0x8000,0x8000
  127. };
  128.  
  129. struct Image Image2 = {
  130.         0,0,    /* XY origin relative to container TopLeft */
  131.         14,13,  /* Image width and height in pixels */
  132.         2,      /* number of bitplanes in Image */
  133.         ImageData2,     /* pointer to ImageData */
  134.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  135.         NULL    /* next Image structure */
  136. };
  137.  
  138. struct Gadget EightGad = {
  139.         &NineGad,       /* next gadget */
  140.         31,95,  /* origin XY of hit box relative to window TopLeft */
  141.         14,13,  /* hit box width and height */
  142.         GADGIMAGE,      /* gadget flags */
  143.         RELVERIFY,      /* activation flags */
  144.         BOOLGADGET,     /* gadget type flags */
  145.         (APTR)&Image2,  /* gadget border or image to be rendered */
  146.         NULL,   /* alternate imagery for selection */
  147.         NULL,   /* first IntuiText structure */
  148.         NULL,   /* gadget mutual-exclude long word */
  149.         NULL,   /* SpecialInfo structure */
  150.         Eight,  /* user-definable data */
  151.         NULL    /* pointer to user-definable data */
  152. };
  153.  
  154. USHORT ImageData3[] = {
  155.         0x0000,0x0000,0x0000,0x2000,0x0000,0x2000,0x0FFE,0x2000,
  156.         0x0FFE,0x2000,0x0FFE,0x2000,0x0FFE,0x2000,0x0FFE,0x2000,
  157.         0x0000,0x2000,0x0000,0x2000,0x7FFF,0xE000,0xFFFF,0xE000,
  158.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  159.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  160.         0x8000,0x0000,0x8000,0x0000
  161. };
  162.  
  163. struct Image Image3 = {
  164.         0,0,    /* XY origin relative to container TopLeft */
  165.         19,11,  /* Image width and height in pixels */
  166.         2,      /* number of bitplanes in Image */
  167.         ImageData3,     /* pointer to ImageData */
  168.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  169.         NULL    /* next Image structure */
  170. };
  171.  
  172. struct Gadget StillGad = {
  173.         &EightGad,      /* next gadget */
  174.         122,104,        /* origin XY of hit box relative to window TopLeft */
  175.         19,11,  /* hit box width and height */
  176.         GADGIMAGE,      /* gadget flags */
  177.         RELVERIFY,      /* activation flags */
  178.         BOOLGADGET,     /* gadget type flags */
  179.         (APTR)&Image3,  /* gadget border or image to be rendered */
  180.         NULL,   /* alternate imagery for selection */
  181.         NULL,   /* first IntuiText structure */
  182.         NULL,   /* gadget mutual-exclude long word */
  183.         NULL,   /* SpecialInfo structure */
  184.         Still,  /* user-definable data */
  185.         NULL    /* pointer to user-definable data */
  186. };
  187.  
  188. USHORT ImageData4[] = {
  189.         0x0000,0x0004,0x0004,0x0FC4,0x00C4,0x00C4,0x0184,0x0304,
  190.         0x0304,0x0304,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
  191.         0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
  192.         0x8000,0x8000
  193. };
  194.  
  195. struct Image Image4 = {
  196.         0,0,    /* XY origin relative to container TopLeft */
  197.         14,13,  /* Image width and height in pixels */
  198.         2,      /* number of bitplanes in Image */
  199.         ImageData4,     /* pointer to ImageData */
  200.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  201.         NULL    /* next Image structure */
  202. };
  203.  
  204. struct Gadget SevenGad = {
  205.         &StillGad,      /* next gadget */
  206.         12,95,  /* origin XY of hit box relative to window TopLeft */
  207.         14,13,  /* hit box width and height */
  208.         GADGIMAGE,      /* gadget flags */
  209.         RELVERIFY,      /* activation flags */
  210.         BOOLGADGET,     /* gadget type flags */
  211.         (APTR)&Image4,  /* gadget border or image to be rendered */
  212.         NULL,   /* alternate imagery for selection */
  213.         NULL,   /* first IntuiText structure */
  214.         NULL,   /* gadget mutual-exclude long word */
  215.         NULL,   /* SpecialInfo structure */
  216.         Seven,  /* user-definable data */
  217.         NULL    /* pointer to user-definable data */
  218. };
  219.  
  220. USHORT ImageData5[] = {
  221.         0x0000,0x0004,0x0004,0x0384,0x0604,0x0C04,0x0F84,0x0CC4,
  222.         0x0CC4,0x0784,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
  223.         0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
  224.         0x8000,0x8000
  225. };
  226.  
  227. struct Image Image5 = {
  228.         0,0,    /* XY origin relative to container TopLeft */
  229.         14,13,  /* Image width and height in pixels */
  230.         2,      /* number of bitplanes in Image */
  231.         ImageData5,     /* pointer to ImageData */
  232.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  233.         NULL    /* next Image structure */
  234. };
  235.  
  236. struct Gadget SixGad = {
  237.         &SevenGad,      /* next gadget */
  238.         51,78,  /* origin XY of hit box relative to window TopLeft */
  239.         14,13,  /* hit box width and height */
  240.         GADGIMAGE,      /* gadget flags */
  241.         RELVERIFY,      /* activation flags */
  242.         BOOLGADGET,     /* gadget type flags */
  243.         (APTR)&Image5,  /* gadget border or image to be rendered */
  244.         NULL,   /* alternate imagery for selection */
  245.         NULL,   /* first IntuiText structure */
  246.         NULL,   /* gadget mutual-exclude long word */
  247.         NULL,   /* SpecialInfo structure */
  248.         Six,    /* user-definable data */
  249.         NULL    /* pointer to user-definable data */
  250. };
  251.  
  252. USHORT ImageData6[] = {
  253.         0x0000,0x0004,0x0004,0x0FC4,0x0C04,0x0F84,0x00C4,0x00C4,
  254.         0x0CC4,0x0784,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
  255.         0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
  256.         0x8000,0x8000
  257. };
  258.  
  259. struct Image Image6 = {
  260.         0,0,    /* XY origin relative to container TopLeft */
  261.         14,13,  /* Image width and height in pixels */
  262.         2,      /* number of bitplanes in Image */
  263.         ImageData6,     /* pointer to ImageData */
  264.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  265.         NULL    /* next Image structure */
  266. };
  267.  
  268. struct Gadget FiveGad = {
  269.         &SixGad,        /* next gadget */
  270.         31,78,  /* origin XY of hit box relative to window TopLeft */
  271.         14,13,  /* hit box width and height */
  272.         GADGIMAGE,      /* gadget flags */
  273.         RELVERIFY,      /* activation flags */
  274.         BOOLGADGET,     /* gadget type flags */
  275.         (APTR)&Image6,  /* gadget border or image to be rendered */
  276.         NULL,   /* alternate imagery for selection */
  277.         NULL,   /* first IntuiText structure */
  278.         NULL,   /* gadget mutual-exclude long word */
  279.         NULL,   /* SpecialInfo structure */
  280.         Five,   /* user-definable data */
  281.         NULL    /* pointer to user-definable data */
  282. };
  283.  
  284. USHORT ImageData7[] = {
  285.         0x0000,0x0004,0x0004,0x0384,0x0784,0x0D84,0x1984,0x1FC4,
  286.         0x0184,0x0184,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
  287.         0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
  288.         0x8000,0x8000
  289. };
  290.  
  291. struct Image Image7 = {
  292.         0,0,    /* XY origin relative to container TopLeft */
  293.         14,13,  /* Image width and height in pixels */
  294.         2,      /* number of bitplanes in Image */
  295.         ImageData7,     /* pointer to ImageData */
  296.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  297.         NULL    /* next Image structure */
  298. };
  299.  
  300. struct Gadget FourGad = {
  301.         &FiveGad,       /* next gadget */
  302.         12,78,  /* origin XY of hit box relative to window TopLeft */
  303.         14,13,  /* hit box width and height */
  304.         GADGIMAGE,      /* gadget flags */
  305.         RELVERIFY,      /* activation flags */
  306.         BOOLGADGET,     /* gadget type flags */
  307.         (APTR)&Image7,  /* gadget border or image to be rendered */
  308.         NULL,   /* alternate imagery for selection */
  309.         NULL,   /* first IntuiText structure */
  310.         NULL,   /* gadget mutual-exclude long word */
  311.         NULL,   /* SpecialInfo structure */
  312.         Four,   /* user-definable data */
  313.         NULL    /* pointer to user-definable data */
  314. };
  315.  
  316. USHORT ImageData8[] = {
  317.         0x0000,0x0004,0x0004,0x0784,0x0CC4,0x00C4,0x0384,0x00C4,
  318.         0x0CC4,0x0784,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
  319.         0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
  320.         0x8000,0x8000
  321. };
  322.  
  323. struct Image Image8 = {
  324.         0,0,    /* XY origin relative to container TopLeft */
  325.         14,13,  /* Image width and height in pixels */
  326.         2,      /* number of bitplanes in Image */
  327.         ImageData8,     /* pointer to ImageData */
  328.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  329.         NULL    /* next Image structure */
  330. };
  331.  
  332. struct Gadget ThreeGad = {
  333.         &FourGad,       /* next gadget */
  334.         51,61,  /* origin XY of hit box relative to window TopLeft */
  335.         14,13,  /* hit box width and height */
  336.         GADGIMAGE,      /* gadget flags */
  337.         RELVERIFY,      /* activation flags */
  338.         BOOLGADGET,     /* gadget type flags */
  339.         (APTR)&Image8,  /* gadget border or image to be rendered */
  340.         NULL,   /* alternate imagery for selection */
  341.         NULL,   /* first IntuiText structure */
  342.         NULL,   /* gadget mutual-exclude long word */
  343.         NULL,   /* SpecialInfo structure */
  344.         Three,  /* user-definable data */
  345.         NULL    /* pointer to user-definable data */
  346. };
  347.  
  348. USHORT ImageData9[] = {
  349.         0x0000,0x0004,0x0004,0x0784,0x0CC4,0x00C4,0x0184,0x0304,
  350.         0x0604,0x0FC4,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
  351.         0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
  352.         0x8000,0x8000
  353. };
  354.  
  355. struct Image Image9 = {
  356.         0,0,    /* XY origin relative to container TopLeft */
  357.         14,13,  /* Image width and height in pixels */
  358.         2,      /* number of bitplanes in Image */
  359.         ImageData9,     /* pointer to ImageData */
  360.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  361.         NULL    /* next Image structure */
  362. };
  363.  
  364. struct Gadget TwoGad = {
  365.         &ThreeGad,      /* next gadget */
  366.         31,61,  /* origin XY of hit box relative to window TopLeft */
  367.         14,13,  /* hit box width and height */
  368.         GADGIMAGE,      /* gadget flags */
  369.         RELVERIFY,      /* activation flags */
  370.         BOOLGADGET,     /* gadget type flags */
  371.         (APTR)&Image9,  /* gadget border or image to be rendered */
  372.         NULL,   /* alternate imagery for selection */
  373.         NULL,   /* first IntuiText structure */
  374.         NULL,   /* gadget mutual-exclude long word */
  375.         NULL,   /* SpecialInfo structure */
  376.         Two,    /* user-definable data */
  377.         NULL    /* pointer to user-definable data */
  378. };
  379.  
  380. USHORT ImageData10[] = {
  381.         0x0000,0x0000,0x0000,0x0002,0x0000,0x0002,0x00C6,0x0002,
  382.         0x00EE,0x1802,0x00FE,0x1802,0x00D6,0x7E02,0x00C6,0x1802,
  383.         0x00C6,0x1802,0x00C6,0x0002,0x0000,0x0002,0x0000,0x0002,
  384.         0x7FFF,0xFFFE,0xFFFF,0xFFFE,0x8000,0x0000,0x8000,0x0000,
  385.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  386.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  387.         0x8000,0x0000,0x8000,0x0000
  388. };
  389.  
  390. struct Image Image10 = {
  391.         0,0,    /* XY origin relative to container TopLeft */
  392.         31,13,  /* Image width and height in pixels */
  393.         2,      /* number of bitplanes in Image */
  394.         ImageData10,    /* pointer to ImageData */
  395.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  396.         NULL    /* next Image structure */
  397. };
  398.  
  399. struct Gadget MemorizeGad = {
  400.         &TwoGad,        /* next gadget */
  401.         99,135, /* origin XY of hit box relative to window TopLeft */
  402.         31,13,  /* hit box width and height */
  403.         GADGIMAGE,      /* gadget flags */
  404.         RELVERIFY,      /* activation flags */
  405.         BOOLGADGET,     /* gadget type flags */
  406.         (APTR)&Image10, /* gadget border or image to be rendered */
  407.         NULL,   /* alternate imagery for selection */
  408.         NULL,   /* first IntuiText structure */
  409.         NULL,   /* gadget mutual-exclude long word */
  410.         NULL,   /* SpecialInfo structure */
  411.         Memorize,       /* user-definable data */
  412.         NULL    /* pointer to user-definable data */
  413. };
  414.  
  415. USHORT ImageData11[] = {
  416.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0040,0x07D1,0x79F4,
  417.         0x4040,0x0119,0x4502,0x8040,0x0115,0x45E1,0x0040,0x0113,
  418.         0x4502,0x8040,0x07D1,0x79F4,0x4040,0x0000,0x0000,0x0040,
  419.         0x0000,0x0000,0x0040,0x7FFF,0xFFFF,0xFFC0,0xFFFF,0xFFFF,
  420.         0xFFC0,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  421.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  422.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  423.         0x0000,0x8000,0x0000,0x0000
  424. };
  425.  
  426. struct Image Image11 = {
  427.         0,0,    /* XY origin relative to container TopLeft */
  428.         42,10,  /* Image width and height in pixels */
  429.         2,      /* number of bitplanes in Image */
  430.         ImageData11,    /* pointer to ImageData */
  431.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  432.         NULL    /* next Image structure */
  433. };
  434.  
  435. struct Gadget IndexGad = {
  436.         &MemorizeGad,   /* next gadget */
  437.         42,41,  /* origin XY of hit box relative to window TopLeft */
  438.         42,10,  /* hit box width and height */
  439.         GADGIMAGE,      /* gadget flags */
  440.         RELVERIFY,      /* activation flags */
  441.         BOOLGADGET,     /* gadget type flags */
  442.         (APTR)&Image11, /* gadget border or image to be rendered */
  443.         NULL,   /* alternate imagery for selection */
  444.         NULL,   /* first IntuiText structure */
  445.         NULL,   /* gadget mutual-exclude long word */
  446.         NULL,   /* SpecialInfo structure */
  447.         Index,  /* user-definable data */
  448.         NULL    /* pointer to user-definable data */
  449. };
  450.  
  451. USHORT ImageData12[] = {
  452.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0040,0x0000,0x0000,
  453.         0x0040,0x0F7C,0xE78E,0x4440,0x1041,0x1451,0x4440,0x0E79,
  454.         0xF790,0x7C40,0x0141,0x1491,0x4440,0x1E7D,0x144E,0x4440,
  455.         0x0000,0x0000,0x0040,0x7FFF,0xFFFF,0xFFC0,0xFFFF,0xFFFF,
  456.         0xFFC0,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  457.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  458.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  459.         0x0000,0x8000,0x0000,0x0000
  460. };
  461.  
  462. struct Image Image12 = {
  463.         0,0,    /* XY origin relative to container TopLeft */
  464.         42,10,  /* Image width and height in pixels */
  465.         2,      /* number of bitplanes in Image */
  466.         ImageData12,    /* pointer to ImageData */
  467.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  468.         NULL    /* next Image structure */
  469. };
  470.  
  471. struct Gadget SearchGad = {
  472.         &IndexGad,      /* next gadget */
  473.         40,114, /* origin XY of hit box relative to window TopLeft */
  474.         42,10,  /* hit box width and height */
  475.         GADGIMAGE,      /* gadget flags */
  476.         RELVERIFY,      /* activation flags */
  477.         BOOLGADGET,     /* gadget type flags */
  478.         (APTR)&Image12, /* gadget border or image to be rendered */
  479.         NULL,   /* alternate imagery for selection */
  480.         NULL,   /* first IntuiText structure */
  481.         NULL,   /* gadget mutual-exclude long word */
  482.         NULL,   /* SpecialInfo structure */
  483.         Search, /* user-definable data */
  484.         NULL    /* pointer to user-definable data */
  485. };
  486.  
  487. USHORT ImageData13[] = {
  488.         0x0000,0x0000,0x0000,0x2000,0x0000,0x2000,0x0E40,0x2000,
  489.         0x1140,0x2000,0x1040,0x2000,0x1140,0x2000,0x0E7C,0x2000,
  490.         0x0000,0x2000,0x0000,0x2000,0x7FFF,0xE000,0xFFFF,0xE000,
  491.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  492.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  493.         0x8000,0x0000,0x8000,0x0000
  494. };
  495.  
  496. struct Image Image13 = {
  497.         0,0,    /* XY origin relative to container TopLeft */
  498.         19,11,  /* Image width and height in pixels */
  499.         2,      /* number of bitplanes in Image */
  500.         ImageData13,    /* pointer to ImageData */
  501.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  502.         NULL    /* next Image structure */
  503. };
  504.  
  505. struct Gadget ClearGad = {
  506.         &SearchGad,     /* next gadget */
  507.         12,130, /* origin XY of hit box relative to window TopLeft */
  508.         19,11,  /* hit box width and height */
  509.         GADGIMAGE,      /* gadget flags */
  510.         RELVERIFY,      /* activation flags */
  511.         BOOLGADGET,     /* gadget type flags */
  512.         (APTR)&Image13, /* gadget border or image to be rendered */
  513.         NULL,   /* alternate imagery for selection */
  514.         NULL,   /* first IntuiText structure */
  515.         NULL,   /* gadget mutual-exclude long word */
  516.         NULL,   /* SpecialInfo structure */
  517.         Clear,  /* user-definable data */
  518.         NULL    /* pointer to user-definable data */
  519. };
  520.  
  521. USHORT ImageData14[] = {
  522.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0040,0x0FA2,0xFBEF,
  523.         0x0040,0x0832,0x2208,0x8040,0x0F2A,0x23CF,0x0040,0x0826,
  524.         0x2209,0x0040,0x0FA2,0x23E8,0x8040,0x0000,0x0000,0x0040,
  525.         0x0000,0x0000,0x0040,0x7FFF,0xFFFF,0xFFC0,0xFFFF,0xFFFF,
  526.         0xFFC0,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  527.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  528.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  529.         0x0000,0x8000,0x0000,0x0000
  530. };
  531.  
  532. struct Image Image14 = {
  533.         0,0,    /* XY origin relative to container TopLeft */
  534.         42,10,  /* Image width and height in pixels */
  535.         2,      /* number of bitplanes in Image */
  536.         ImageData14,    /* pointer to ImageData */
  537.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  538.         NULL    /* next Image structure */
  539. };
  540.  
  541. struct Gadget EnterGad = {
  542.         &ClearGad,      /* next gadget */
  543.         40,130, /* origin XY of hit box relative to window TopLeft */
  544.         42,10,  /* hit box width and height */
  545.         GADGIMAGE,      /* gadget flags */
  546.         RELVERIFY,      /* activation flags */
  547.         BOOLGADGET,     /* gadget type flags */
  548.         (APTR)&Image14, /* gadget border or image to be rendered */
  549.         NULL,   /* alternate imagery for selection */
  550.         NULL,   /* first IntuiText structure */
  551.         NULL,   /* gadget mutual-exclude long word */
  552.         NULL,   /* SpecialInfo structure */
  553.         Enter,  /* user-definable data */
  554.         NULL    /* pointer to user-definable data */
  555. };
  556.  
  557.  
  558. USHORT ImageDataLog[] = {
  559.         0x0000,0x0000,0x0000,0x0010,0x0000,0x0010,0x040E,0x3810,
  560.         0x0411,0x4010,0x0411,0x5C10,0x0411,0x4410,0x07CE,0x3810,
  561.         0x0000,0x0010,0x7FFF,0xFFF0,0xFFFF,0xFFF0,0x8000,0x0000,
  562.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  563.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000
  564. };
  565.  
  566. struct Image ImageLog = {
  567.         0,0,    /* XY origin relative to container TopLeft */
  568.         28,10,   /* Image width and height in pixels */
  569.         2,      /* number of bitplanes in Image */
  570.         ImageDataLog,     /* pointer to ImageData */
  571.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  572.         NULL    /* next Image structure */
  573. };
  574.  
  575. struct Gadget LogGad = {
  576.         &EnterGad,      /* next gadget */
  577.         40,146, /* origin XY of hit box relative to window TopLeft */
  578.         28,10,  /* hit box width and height */
  579.         GADGIMAGE,      /* gadget flags */
  580.         RELVERIFY,      /* activation flags */
  581.         BOOLGADGET,     /* gadget type flags */
  582.         (APTR)&ImageLog, /* gadget border or image to be rendered */
  583.         NULL,   /* alternate imagery for selection */
  584.         NULL,   /* first IntuiText structure */
  585.         NULL,   /* gadget mutual-exclude long word */
  586.         NULL,   /* SpecialInfo structure */
  587.         Log,     /* user-definable data */
  588.         NULL    /* pointer to user-definable data */
  589. };
  590.  
  591.  
  592.  
  593. USHORT ImageData15[] = {
  594.         0x0000,0x0004,0x0004,0x0304,0x0704,0x0F04,0x0304,0x0304,
  595.         0x0304,0x0304,0x0004,0x0004,0x7FFC,0xFFFC,0x8000,0x8000,
  596.         0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,0x8000,
  597.         0x8000,0x8000
  598. };
  599.  
  600. struct Image Image15 = {
  601.         0,0,    /* XY origin relative to container TopLeft */
  602.         14,13,  /* Image width and height in pixels */
  603.         2,      /* number of bitplanes in Image */
  604.         ImageData15,    /* pointer to ImageData */
  605.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  606.         NULL    /* next Image structure */
  607. };
  608.  
  609. struct Gadget OneGad = {
  610.         &LogGad,      /* next gadget */
  611.         12,61,  /* origin XY of hit box relative to window TopLeft */
  612.         14,13,  /* hit box width and height */
  613.         GADGIMAGE,      /* gadget flags */
  614.         RELVERIFY,      /* activation flags */
  615.         BOOLGADGET,     /* gadget type flags */
  616.         (APTR)&Image15, /* gadget border or image to be rendered */
  617.         NULL,   /* alternate imagery for selection */
  618.         NULL,   /* first IntuiText structure */
  619.         NULL,   /* gadget mutual-exclude long word */
  620.         NULL,   /* SpecialInfo structure */
  621.         One,    /* user-definable data */
  622.         NULL    /* pointer to user-definable data */
  623. };
  624.  
  625. USHORT ImageData16[] = {
  626.         0x0000,0x0000,0x0000,0x1000,0x0000,0x1000,0x00F0,0x1000,
  627.         0x0198,0x1000,0x01B8,0x1000,0x01F8,0x1000,0x01D8,0x1000,
  628.         0x0198,0x1000,0x00F0,0x1000,0x0000,0x1000,0x0000,0x1000,
  629.         0x7FFF,0xF000,0xFFFF,0xF000,0x8000,0x0000,0x8000,0x0000,
  630.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  631.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  632.         0x8000,0x0000,0x8000,0x0000
  633. };
  634.  
  635. struct Image Image16 = {
  636.         0,0,    /* XY origin relative to container TopLeft */
  637.         20,13,  /* Image width and height in pixels */
  638.         2,      /* number of bitplanes in Image */
  639.         ImageData16,    /* pointer to ImageData */
  640.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  641.         NULL    /* next Image structure */
  642. };
  643.  
  644. struct Gadget ZeroGad = {
  645.         &OneGad,        /* next gadget */
  646.         12,113, /* origin XY of hit box relative to window TopLeft */
  647.         20,13,  /* hit box width and height */
  648.         GADGIMAGE,      /* gadget flags */
  649.         RELVERIFY,      /* activation flags */
  650.         BOOLGADGET,     /* gadget type flags */
  651.         (APTR)&Image16, /* gadget border or image to be rendered */
  652.         NULL,   /* alternate imagery for selection */
  653.         NULL,   /* first IntuiText structure */
  654.         NULL,   /* gadget mutual-exclude long word */
  655.         NULL,   /* SpecialInfo structure */
  656.         Zero,   /* user-definable data */
  657.         NULL    /* pointer to user-definable data */
  658. };
  659.  
  660. USHORT ImageData17[] = {
  661.         0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0018,0x0000,
  662.         0x2000,0x001E,0x0000,0x2000,0x001F,0x8000,0x2000,0x001F,
  663.         0xE000,0x2000,0x001F,0xF800,0x2000,0x001F,0xE000,0x2000,
  664.         0x001F,0x8000,0x2000,0x001E,0x0000,0x2000,0x0018,0x0000,
  665.         0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
  666.         0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  667.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  668.         0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  669.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  670.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
  671. };
  672.  
  673. struct Image Image17 = {
  674.         0,0,    /* XY origin relative to container TopLeft */
  675.         35,13,  /* Image width and height in pixels */
  676.         2,      /* number of bitplanes in Image */
  677.         ImageData17,    /* pointer to ImageData */
  678.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  679.         NULL    /* next Image structure */
  680. };
  681.  
  682. struct Gadget FplayGad = {
  683.         &ZeroGad,       /* next gadget */
  684.         134,118,        /* origin XY of hit box relative to window TopLeft */
  685.         35,13,  /* hit box width and height */
  686.         GADGIMAGE,      /* gadget flags */
  687.         RELVERIFY,      /* activation flags */
  688.         BOOLGADGET,     /* gadget type flags */
  689.         (APTR)&Image17, /* gadget border or image to be rendered */
  690.         NULL,   /* alternate imagery for selection */
  691.         NULL,   /* first IntuiText structure */
  692.         NULL,   /* gadget mutual-exclude long word */
  693.         NULL,   /* SpecialInfo structure */
  694.         Fplay,  /* user-definable data */
  695.         NULL    /* pointer to user-definable data */
  696. };
  697.  
  698. USHORT ImageData18[] = {
  699.         0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0018,0x00C0,
  700.         0x2000,0x001E,0x00C0,0x2000,0x001F,0x80C0,0x2000,0x001F,
  701.         0xE0C0,0x2000,0x001F,0xF8C0,0x2000,0x001F,0xE0C0,0x2000,
  702.         0x001F,0x80C0,0x2000,0x001E,0x00C0,0x2000,0x0018,0x00C0,
  703.         0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
  704.         0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  705.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  706.         0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  707.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  708.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
  709. };
  710.  
  711. struct Image Image18 = {
  712.         0,0,    /* XY origin relative to container TopLeft */
  713.         35,13,  /* Image width and height in pixels */
  714.         2,      /* number of bitplanes in Image */
  715.         ImageData18,    /* pointer to ImageData */
  716.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  717.         NULL    /* next Image structure */
  718. };
  719.  
  720. struct Gadget FstepGad = {
  721.         &FplayGad,      /* next gadget */
  722.         134,88, /* origin XY of hit box relative to window TopLeft */
  723.         35,13,  /* hit box width and height */
  724.         GADGIMAGE,      /* gadget flags */
  725.         RELVERIFY,      /* activation flags */
  726.         BOOLGADGET,     /* gadget type flags */
  727.         (APTR)&Image18, /* gadget border or image to be rendered */
  728.         NULL,   /* alternate imagery for selection */
  729.         NULL,   /* first IntuiText structure */
  730.         NULL,   /* gadget mutual-exclude long word */
  731.         NULL,   /* SpecialInfo structure */
  732.         Fstep,  /* user-definable data */
  733.         NULL    /* pointer to user-definable data */
  734. };
  735.  
  736. USHORT ImageData19[] = {
  737.         0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x001B,0x0000,
  738.         0x2000,0x001B,0xC000,0x2000,0x001B,0xF000,0x2000,0x001B,
  739.         0xFC00,0x2000,0x001B,0xFF00,0x2000,0x001B,0xFC00,0x2000,
  740.         0x001B,0xF000,0x2000,0x001B,0xC000,0x2000,0x001B,0x0000,
  741.         0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
  742.         0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  743.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  744.         0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  745.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  746.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
  747. };
  748.  
  749. struct Image Image19 = {
  750.         0,0,    /* XY origin relative to container TopLeft */
  751.         35,13,  /* Image width and height in pixels */
  752.         2,      /* number of bitplanes in Image */
  753.         ImageData19,    /* pointer to ImageData */
  754.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  755.         NULL    /* next Image structure */
  756. };
  757.  
  758. struct Gadget FslowGad = {
  759.         &FstepGad,      /* next gadget */
  760.         134,70, /* origin XY of hit box relative to window TopLeft */
  761.         35,13,  /* hit box width and height */
  762.         GADGIMAGE,      /* gadget flags */
  763.         RELVERIFY,      /* activation flags */
  764.         BOOLGADGET,     /* gadget type flags */
  765.         (APTR)&Image19, /* gadget border or image to be rendered */
  766.         NULL,   /* alternate imagery for selection */
  767.         NULL,   /* first IntuiText structure */
  768.         NULL,   /* gadget mutual-exclude long word */
  769.         NULL,   /* SpecialInfo structure */
  770.         Fslow,  /* user-definable data */
  771.         NULL    /* pointer to user-definable data */
  772. };
  773.  
  774. USHORT ImageData20[] = {
  775.         0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0003,0x00C0,
  776.         0x2000,0x000F,0x03C0,0x2000,0x003F,0x0FC0,0x2000,0x00FF,
  777.         0x3FC0,0x2000,0x03FF,0xFFC0,0x2000,0x00FF,0x3FC0,0x2000,
  778.         0x003F,0x0FC0,0x2000,0x000F,0x03C0,0x2000,0x0003,0x00C0,
  779.         0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
  780.         0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  781.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  782.         0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  783.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  784.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
  785. };
  786.  
  787. struct Image Image20 = {
  788.         0,0,    /* XY origin relative to container TopLeft */
  789.         35,13,  /* Image width and height in pixels */
  790.         2,      /* number of bitplanes in Image */
  791.         ImageData20,    /* pointer to ImageData */
  792.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  793.         NULL    /* next Image structure */
  794. };
  795.  
  796. struct Gadget RfastGad = {
  797.         &FslowGad,      /* next gadget */
  798.         95,53,  /* origin XY of hit box relative to window TopLeft */
  799.         35,13,  /* hit box width and height */
  800.         GADGIMAGE,      /* gadget flags */
  801.         RELVERIFY,      /* activation flags */
  802.         BOOLGADGET,     /* gadget type flags */
  803.         (APTR)&Image20, /* gadget border or image to be rendered */
  804.         NULL,   /* alternate imagery for selection */
  805.         NULL,   /* first IntuiText structure */
  806.         NULL,   /* gadget mutual-exclude long word */
  807.         NULL,   /* SpecialInfo structure */
  808.         Rfast,  /* user-definable data */
  809.         NULL    /* pointer to user-definable data */
  810. };
  811.  
  812. USHORT ImageData21[] = {
  813.         0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x1806,0x0180,
  814.         0x2000,0x1E07,0x81E0,0x2000,0x1F87,0xE1F8,0x2000,0x1FE7,
  815.         0xF9FE,0x2000,0x1FFF,0xFFFF,0xA000,0x1FE7,0xF9FE,0x2000,
  816.         0x1F87,0xE1F8,0x2000,0x1E07,0x81E0,0x2000,0x1806,0x0180,
  817.         0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
  818.         0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  819.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  820.         0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  821.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  822.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
  823. };
  824.  
  825. struct Image Image21 = {
  826.         0,0,    /* XY origin relative to container TopLeft */
  827.         35,13,  /* Image width and height in pixels */
  828.         2,      /* number of bitplanes in Image */
  829.         ImageData21,    /* pointer to ImageData */
  830.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  831.         NULL    /* next Image structure */
  832. };
  833.  
  834. struct Gadget FscanGad = {
  835.         &RfastGad,      /* next gadget */
  836.         134,36, /* origin XY of hit box relative to window TopLeft */
  837.         35,13,  /* hit box width and height */
  838.         GADGIMAGE,      /* gadget flags */
  839.         RELVERIFY+GADGIMMEDIATE,        /* activation flags */
  840.         BOOLGADGET,     /* gadget type flags */
  841.         (APTR)&Image21, /* gadget border or image to be rendered */
  842.         NULL,   /* alternate imagery for selection */
  843.         NULL,   /* first IntuiText structure */
  844.         NULL,   /* gadget mutual-exclude long word */
  845.         NULL,   /* SpecialInfo structure */
  846.         Fscan,  /* user-definable data */
  847.         NULL    /* pointer to user-definable data */
  848. };
  849.  
  850. USHORT ImageData22[] = {
  851.         0x0000,0x0000,0x0000,0x0002,0x0000,0x0002,0x00C6,0x7C02,
  852.         0x00EE,0x6602,0x00FE,0x6602,0x00D6,0x7C02,0x00C6,0x6C02,
  853.         0x00C6,0x6602,0x00C6,0x6602,0x0000,0x0002,0x0000,0x0002,
  854.         0x7FFF,0xFFFE,0xFFFF,0xFFFE,0x8000,0x0000,0x8000,0x0000,
  855.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  856.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  857.         0x8000,0x0000,0x8000,0x0000
  858. };
  859.  
  860. struct Image Image22 = {
  861.         0,0,    /* XY origin relative to container TopLeft */
  862.         31,13,  /* Image width and height in pixels */
  863.         2,      /* number of bitplanes in Image */
  864.         ImageData22,    /* pointer to ImageData */
  865.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  866.         NULL    /* next Image structure */
  867. };
  868.  
  869. struct Gadget MsearchGad = {
  870.         &FscanGad,      /* next gadget */
  871.         134,135,        /* origin XY of hit box relative to window TopLeft */
  872.         31,13,  /* hit box width and height */
  873.         GADGIMAGE,      /* gadget flags */
  874.         RELVERIFY,      /* activation flags */
  875.         BOOLGADGET,     /* gadget type flags */
  876.         (APTR)&Image22, /* gadget border or image to be rendered */
  877.         NULL,   /* alternate imagery for selection */
  878.         NULL,   /* first IntuiText structure */
  879.         NULL,   /* gadget mutual-exclude long word */
  880.         NULL,   /* SpecialInfo structure */
  881.         Msearch,        /* user-definable data */
  882.         NULL    /* pointer to user-definable data */
  883. };
  884.  
  885. USHORT ImageData23[] = {
  886.         0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0000,0x0300,
  887.         0x2000,0x0000,0x0F00,0x2000,0x0000,0x3F00,0x2000,0x0000,
  888.         0xFF00,0x2000,0x0003,0xFF00,0x2000,0x0000,0xFF00,0x2000,
  889.         0x0000,0x3F00,0x2000,0x0000,0x0F00,0x2000,0x0000,0x0300,
  890.         0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
  891.         0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  892.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  893.         0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  894.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  895.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
  896. };
  897.  
  898. struct Image Image23 = {
  899.         0,0,    /* XY origin relative to container TopLeft */
  900.         35,13,  /* Image width and height in pixels */
  901.         2,      /* number of bitplanes in Image */
  902.         ImageData23,    /* pointer to ImageData */
  903.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  904.         NULL    /* next Image structure */
  905. };
  906.  
  907. struct Gadget RplayGad = {
  908.         &MsearchGad,    /* next gadget */
  909.         95,118, /* origin XY of hit box relative to window TopLeft */
  910.         35,13,  /* hit box width and height */
  911.         GADGIMAGE,      /* gadget flags */
  912.         RELVERIFY,      /* activation flags */
  913.         BOOLGADGET,     /* gadget type flags */
  914.         (APTR)&Image23, /* gadget border or image to be rendered */
  915.         NULL,   /* alternate imagery for selection */
  916.         NULL,   /* first IntuiText structure */
  917.         NULL,   /* gadget mutual-exclude long word */
  918.         NULL,   /* SpecialInfo structure */
  919.         Rplay,  /* user-definable data */
  920.         NULL    /* pointer to user-definable data */
  921. };
  922.  
  923. USHORT ImageData24[] = {
  924.         0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0060,0x0300,
  925.         0x2000,0x0060,0x0F00,0x2000,0x0060,0x3F00,0x2000,0x0060,
  926.         0xFF00,0x2000,0x0063,0xFF00,0x2000,0x0060,0xFF00,0x2000,
  927.         0x0060,0x3F00,0x2000,0x0060,0x0F00,0x2000,0x0060,0x0300,
  928.         0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
  929.         0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  930.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  931.         0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  932.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  933.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
  934. };
  935.  
  936. struct Image Image24 = {
  937.         0,0,    /* XY origin relative to container TopLeft */
  938.         35,13,  /* Image width and height in pixels */
  939.         2,      /* number of bitplanes in Image */
  940.         ImageData24,    /* pointer to ImageData */
  941.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  942.         NULL    /* next Image structure */
  943. };
  944.  
  945. struct Gadget RstepGad = {
  946.         &RplayGad,      /* next gadget */
  947.         95,88,  /* origin XY of hit box relative to window TopLeft */
  948.         35,13,  /* hit box width and height */
  949.         GADGIMAGE,      /* gadget flags */
  950.         RELVERIFY,      /* activation flags */
  951.         BOOLGADGET,     /* gadget type flags */
  952.         (APTR)&Image24, /* gadget border or image to be rendered */
  953.         NULL,   /* alternate imagery for selection */
  954.         NULL,   /* first IntuiText structure */
  955.         NULL,   /* gadget mutual-exclude long word */
  956.         NULL,   /* SpecialInfo structure */
  957.         Rstep,  /* user-definable data */
  958.         NULL    /* pointer to user-definable data */
  959. };
  960.  
  961. USHORT ImageData25[] = {
  962.         0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0000,0x1B00,
  963.         0x2000,0x0000,0x7B00,0x2000,0x0001,0xFB00,0x2000,0x0007,
  964.         0xFB00,0x2000,0x001F,0xFB00,0x2000,0x0007,0xFB00,0x2000,
  965.         0x0001,0xFB00,0x2000,0x0000,0x7B00,0x2000,0x0000,0x1B00,
  966.         0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
  967.         0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  968.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  969.         0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  970.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  971.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
  972. };
  973.  
  974. struct Image Image25 = {
  975.         0,0,    /* XY origin relative to container TopLeft */
  976.         35,13,  /* Image width and height in pixels */
  977.         2,      /* number of bitplanes in Image */
  978.         ImageData25,    /* pointer to ImageData */
  979.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  980.         NULL    /* next Image structure */
  981. };
  982.  
  983. struct Gadget RslowGad = {
  984.         &RstepGad,      /* next gadget */
  985.         95,70,  /* origin XY of hit box relative to window TopLeft */
  986.         35,13,  /* hit box width and height */
  987.         GADGIMAGE,      /* gadget flags */
  988.         RELVERIFY,      /* activation flags */
  989.         BOOLGADGET,     /* gadget type flags */
  990.         (APTR)&Image25, /* gadget border or image to be rendered */
  991.         NULL,   /* alternate imagery for selection */
  992.         NULL,   /* first IntuiText structure */
  993.         NULL,   /* gadget mutual-exclude long word */
  994.         NULL,   /* SpecialInfo structure */
  995.         Rslow,  /* user-definable data */
  996.         NULL    /* pointer to user-definable data */
  997. };
  998.  
  999. USHORT ImageData26[] = {
  1000.         0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0060,0x1800,
  1001.         0x2000,0x0078,0x1E00,0x2000,0x007E,0x1F80,0x2000,0x007F,
  1002.         0x9FE0,0x2000,0x007F,0xFFF8,0x2000,0x007F,0x9FE0,0x2000,
  1003.         0x007E,0x1F80,0x2000,0x0078,0x1E00,0x2000,0x0060,0x1800,
  1004.         0x2000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
  1005.         0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  1006.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  1007.         0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  1008.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  1009.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
  1010. };
  1011.  
  1012. struct Image Image26 = {
  1013.         0,0,    /* XY origin relative to container TopLeft */
  1014.         35,13,  /* Image width and height in pixels */
  1015.         2,      /* number of bitplanes in Image */
  1016.         ImageData26,    /* pointer to ImageData */
  1017.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  1018.         NULL    /* next Image structure */
  1019. };
  1020.  
  1021. struct Gadget FfastGad = {
  1022.         &RslowGad,      /* next gadget */
  1023.         134,53, /* origin XY of hit box relative to window TopLeft */
  1024.         35,13,  /* hit box width and height */
  1025.         GADGIMAGE,      /* gadget flags */
  1026.         RELVERIFY,      /* activation flags */
  1027.         BOOLGADGET,     /* gadget type flags */
  1028.         (APTR)&Image26, /* gadget border or image to be rendered */
  1029.         NULL,   /* alternate imagery for selection */
  1030.         NULL,   /* first IntuiText structure */
  1031.         NULL,   /* gadget mutual-exclude long word */
  1032.         NULL,   /* SpecialInfo structure */
  1033.         Ffast,  /* user-definable data */
  1034.         NULL    /* pointer to user-definable data */
  1035. };
  1036.  
  1037. USHORT ImageData27[] = {
  1038.         0x0000,0x0000,0x0000,0x0000,0x0000,0x2000,0x0018,0x0601,
  1039.         0xA000,0x0078,0x1E07,0xA000,0x01F8,0x7E1F,0xA000,0x07F9,
  1040.         0xFE7F,0xA000,0x1FFF,0xFFFF,0xA000,0x07F9,0xFE7F,0xA000,
  1041.         0x01F8,0x7E1F,0xA000,0x0078,0x1E07,0xA000,0x0018,0x0601,
  1042.         0xA000,0x0000,0x0000,0x2000,0x7FFF,0xFFFF,0xE000,0xFFFF,
  1043.         0xFFFF,0xE000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  1044.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,
  1045.         0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,
  1046.         0x0000,0x0000,0x8000,0x0000,0x0000,0x8000,0x0000,0x0000,
  1047.         0x8000,0x0000,0x0000,0x8000,0x0000,0x0000
  1048. };
  1049.  
  1050. struct Image Image27 = {
  1051.         0,0,    /* XY origin relative to container TopLeft */
  1052.         35,13,  /* Image width and height in pixels */
  1053.         2,      /* number of bitplanes in Image */
  1054.         ImageData27,    /* pointer to ImageData */
  1055.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  1056.         NULL    /* next Image structure */
  1057. };
  1058.  
  1059. struct Gadget RscanGad = {
  1060.         &FfastGad,      /* next gadget */
  1061.         95,36,  /* origin XY of hit box relative to window TopLeft */
  1062.         35,13,  /* hit box width and height */
  1063.         GADGIMAGE,      /* gadget flags */
  1064.         RELVERIFY+GADGIMMEDIATE,        /* activation flags */
  1065.         BOOLGADGET,     /* gadget type flags */
  1066.         (APTR)&Image27, /* gadget border or image to be rendered */
  1067.         NULL,   /* alternate imagery for selection */
  1068.         NULL,   /* first IntuiText structure */
  1069.         NULL,   /* gadget mutual-exclude long word */
  1070.         NULL,   /* SpecialInfo structure */
  1071.         Rscan,  /* user-definable data */
  1072.         NULL    /* pointer to user-definable data */
  1073. };
  1074.  
  1075. USHORT ImageData28[] = {
  1076.         0x0000,0x0000,0x0000,0x2000,0x0040,0x2000,0x00E0,0x2000,
  1077.         0x01F0,0x2000,0x03F8,0x2000,0x07FC,0x2000,0x0000,0x2000,
  1078.         0x0FFE,0x2000,0x0000,0x2000,0x7FFF,0xE000,0xFFFF,0xE000,
  1079.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  1080.         0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,0x8000,0x0000,
  1081.         0x8000,0x0000,0x8000,0x0000
  1082. };
  1083.  
  1084. struct Image Image28 = {
  1085.         0,0,    /* XY origin relative to container TopLeft */
  1086.         19,11,  /* Image width and height in pixels */
  1087.         2,      /* number of bitplanes in Image */
  1088.         ImageData28,    /* pointer to ImageData */
  1089.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  1090.         NULL    /* next Image structure */
  1091. };
  1092.  
  1093. struct Gadget EjectGad = {
  1094.         &RscanGad,      /* next gadget */
  1095.         11,41,  /* origin XY of hit box relative to window TopLeft */
  1096.         19,11,  /* hit box width and height */
  1097.         GADGIMAGE,      /* gadget flags */
  1098.         RELVERIFY,      /* activation flags */
  1099.         BOOLGADGET,     /* gadget type flags */
  1100.         (APTR)&Image28, /* gadget border or image to be rendered */
  1101.         NULL,   /* alternate imagery for selection */
  1102.         NULL,   /* first IntuiText structure */
  1103.         NULL,   /* gadget mutual-exclude long word */
  1104.         NULL,   /* SpecialInfo structure */
  1105.         Eject,  /* user-definable data */
  1106.         NULL    /* pointer to user-definable data */
  1107. };
  1108.  
  1109. #define GadgetList1 EjectGad
  1110.  
  1111.